﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using PoemGame.Domain.PlayerAggregate;

namespace PoemGame.Repository.EF
{
    internal class PlayerEntityTypeConfiguration : IEntityTypeConfiguration<Player>
    {
        public void Configure(EntityTypeBuilder<Player> playerConfiguration)
        {
            playerConfiguration.ToTable("Player");
            playerConfiguration.HasKey(o => o.Id);

        }
    }
}